<!DOCTYPE html>



  


<html class="theme-next gemini use-motion" lang="zh-Hans">
<head>
  <meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta name="theme-color" content="#222">









<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
















  
  
  <link href="/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css" />







<link href="/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css" />

<link href="/css/main.css?v=5.1.4" rel="stylesheet" type="text/css" />


  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png?v=5.1.4">


  <link rel="mask-icon" href="/images/logo.svg?v=5.1.4" color="#222">





  <meta name="keywords" content="Hexo, NexT" />










<meta name="description" content="完善后台管理功能：包括文章CRUD、分类CRUD">
<meta property="og:type" content="article">
<meta property="og:title" content="blog 二开 （五）后台管理部分完结">
<meta property="og:url" content="http://example.com/2021/04/06/blog-%E4%BA%8C%E5%BC%80-%EF%BC%88%E4%BA%94%EF%BC%89%E5%90%8E%E5%8F%B0%E7%AE%A1%E7%90%86%E9%83%A8%E5%88%86%E5%AE%8C%E7%BB%93/index.html">
<meta property="og:site_name" content="yyc&#39;s blog">
<meta property="og:description" content="完善后台管理功能：包括文章CRUD、分类CRUD">
<meta property="og:locale">
<meta property="article:published_time" content="2021-04-06T10:23:10.000Z">
<meta property="article:modified_time" content="2021-04-06T10:27:04.307Z">
<meta property="article:author" content="yyc">
<meta name="twitter:card" content="summary">



<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '',
    scheme: 'Gemini',
    version: '5.1.4',
    sidebar: {"position":"left","display":"post","offset":12,"b2t":false,"scrollpercent":false,"onmobile":false},
    fancybox: true,
    tabs: true,
    motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
    duoshuo: {
      userId: '0',
      author: '博主'
    },
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>



  <link rel="canonical" href="http://example.com/2021/04/06/blog-二开-（五）后台管理部分完结/"/>





  <title>blog 二开 （五）后台管理部分完结 | yyc's blog</title>
  








<meta name="generator" content="Hexo 5.3.0"></head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">

  
  
    
  

  <div class="container sidebar-position-left page-post-detail">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta custom-logo">
    

    <div class="custom-logo-site-title">
      <a href="/"  class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">yyc's blog</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
      
        <p class="site-subtitle">技术博客</p>
      
  </div>

  <div class="site-nav-toggle">
    <button>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br />
            
            首页
          </a>
        </li>
      
        
        <li class="menu-item menu-item-about">
          <a href="/about/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-user"></i> <br />
            
            关于
          </a>
        </li>
      
        
        <li class="menu-item menu-item-categories">
          <a href="/categories/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-th"></i> <br />
            
            分类
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="/archives/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
            
            归档
          </a>
        </li>
      

      
    </ul>
  

  
</nav>



 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://example.com/2021/04/06/blog-%E4%BA%8C%E5%BC%80-%EF%BC%88%E4%BA%94%EF%BC%89%E5%90%8E%E5%8F%B0%E7%AE%A1%E7%90%86%E9%83%A8%E5%88%86%E5%AE%8C%E7%BB%93/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="/images/avatar.png">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="yyc's blog">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">blog 二开 （五）后台管理部分完结</h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2021-04-06T18:23:10+08:00">
                2021-04-06
              </time>
            

            

            
          </span>

          
            <span class="post-category" >
            
              <span class="post-meta-divider">|</span>
            
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">分类于</span>
              
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/springboot/" itemprop="url" rel="index">
                    <span itemprop="name">springboot</span>
                  </a>
                </span>

                
                
              
            </span>
          

          
            
          

          
          

          

          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        <h2 id="完善后台管理功能："><a href="#完善后台管理功能：" class="headerlink" title="完善后台管理功能："></a>完善后台管理功能：</h2><p>包括文章CRUD、分类CRUD</p>
<a id="more"></a>

<h3 id="分类-UD："><a href="#分类-UD：" class="headerlink" title="分类 UD："></a><strong>分类 UD：</strong></h3><h4 id="（1）分类修改："><a href="#（1）分类修改：" class="headerlink" title="（1）分类修改："></a>（1）分类修改：</h4><p>mysite项目里的分类修改和新增分类用的是同一个接口，saveMeta（）,传入参数为：String type, String name, Integer mid</p>
<ul>
<li>若mid 为空，则是新增</li>
<li>若mid 不为空，则是修改</li>
</ul>
<p><strong>前端调用：</strong></p>
<figure class="highlight xml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line"><span class="tag">&lt;<span class="name">button</span> <span class="attr">type</span>=<span class="string">&quot;button&quot;</span></span></span><br><span class="line"><span class="tag">                                                    <span class="attr">th:class</span>=<span class="string">&quot;&#x27;btn btn-&#x27;+$&#123;T(com.learn.site.utils.AdminCommons).rand_color()&#125;+&#x27; dropdown-toggle waves-effect waves-light&#x27;&quot;</span></span></span><br><span class="line"><span class="tag">                                                    <span class="attr">data-toggle</span>=<span class="string">&quot;dropdown&quot;</span> <span class="attr">aria-expanded</span>=<span class="string">&quot;false&quot;</span>&gt;</span></span><br></pre></td></tr></table></figure>
<p>修改：</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line">$(&#39;.edit-category&#39;).click(function () &#123;</span><br><span class="line">    var mid &#x3D; $(this).attr(&#39;mid&#39;);</span><br><span class="line">    var cname &#x3D; $(this).attr(&#39;cname&#39;);</span><br><span class="line">    $(&#39;#cform #mid&#39;).val(mid);</span><br><span class="line">    $(&#39;#cform #cname&#39;).val(cname);</span><br><span class="line">&#125;);</span><br></pre></td></tr></table></figure>


<h4 id="（2）分类删除："><a href="#（2）分类删除：" class="headerlink" title="（2）分类删除："></a>（2）分类删除：</h4><figure class="highlight xml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line"><span class="tag">&lt;<span class="name">delete</span> <span class="attr">id</span>=<span class="string">&quot;deleteMetaById&quot;</span>&gt;</span></span><br><span class="line">    delete from <span class="tag">&lt;<span class="name">include</span> <span class="attr">refid</span>=<span class="string">&quot;BASE_TABLE&quot;</span>&gt;</span><span class="tag">&lt;/<span class="name">include</span>&gt;</span></span><br><span class="line">    where mid = #&#123;mid, jdbcType=INTEGER&#125;</span><br><span class="line"><span class="tag">&lt;/<span class="name">delete</span>&gt;</span></span><br></pre></td></tr></table></figure>


<h3 id="文章-UD："><a href="#文章-UD：" class="headerlink" title="文章 UD："></a>文章 UD：</h3><h4 id="（1）文章修改："><a href="#（1）文章修改：" class="headerlink" title="（1）文章修改："></a>（1）文章修改：</h4><p>前端调用/admin/article/{cid}</p>
<figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">@GetMapping(&quot;/&#123;cid&#125;&quot;)</span></span><br><span class="line"><span class="function"><span class="keyword">public</span> String <span class="title">editArticle</span><span class="params">(<span class="meta">@PathVariable</span> Integer cid, HttpServletRequest request)</span></span>&#123;</span><br><span class="line">    Content content = contentService.getArticleById(cid);</span><br><span class="line">    request.setAttribute(<span class="string">&quot;contents&quot;</span>,content);</span><br><span class="line">    MetaCond metaCond = <span class="keyword">new</span> MetaCond();</span><br><span class="line">    metaCond.setType(Types.CATEGORY.getType());</span><br><span class="line">    List&lt;Meta&gt; categories = metaService.getMetas(metaCond);</span><br><span class="line">    request.setAttribute(<span class="string">&quot;categories&quot;</span>,categories);</span><br><span class="line">    request.setAttribute(<span class="string">&quot;active&quot;</span>,<span class="string">&quot;article&quot;</span>);</span><br><span class="line"></span><br><span class="line">    <span class="keyword">return</span> <span class="string">&quot;admin/article_edit&quot;</span>;</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>
<p>返回该cid的文章内容</p>
<p>控制器修改文章内容：</p>
<figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment">/// amdin/article/modify 接口修改文章</span></span><br><span class="line"><span class="meta">@PostMapping(&quot;/modify&quot;)</span></span><br><span class="line"><span class="meta">@ResponseBody</span></span><br><span class="line"><span class="function"><span class="keyword">public</span> APIResponse <span class="title">modifyArticle</span><span class="params">(HttpServletRequest request, Integer cid, String title, String titlePic,</span></span></span><br><span class="line"><span class="function"><span class="params">                                 String slug, String content, String type, String status, String categories,</span></span></span><br><span class="line"><span class="function"><span class="params">                                 Boolean allowComment</span></span></span><br><span class="line"><span class="function"><span class="params">                                 )</span></span>&#123;</span><br><span class="line">    Content contentPojo = <span class="keyword">new</span> Content();</span><br><span class="line">    contentPojo.setCid(cid);</span><br><span class="line">    contentPojo.setTitle(title);</span><br><span class="line">    contentPojo.setTitlePic(titlePic);</span><br><span class="line">    contentPojo.setContent(content);</span><br><span class="line">    contentPojo.setType(type);</span><br><span class="line">    contentPojo.setStatus(status);</span><br><span class="line">    contentPojo.setCategories(categories);</span><br><span class="line">    contentPojo.setAllowComment(allowComment ? <span class="number">1</span> : <span class="number">0</span>);</span><br><span class="line"></span><br><span class="line">    contentService.updateArticleById(contentPojo);</span><br><span class="line">    <span class="keyword">return</span> APIResponse.success();</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>
<p>service层：</p>
<figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">@Override</span></span><br><span class="line">    <span class="function"><span class="keyword">public</span> <span class="keyword">void</span> <span class="title">updateArticleById</span><span class="params">(Content contentPojo)</span> </span>&#123;</span><br><span class="line">        <span class="comment">// 分类</span></span><br><span class="line">        String categories = contentPojo.getCategories();</span><br><span class="line"></span><br><span class="line">        contentMapper.updateArticleById(contentPojo);</span><br><span class="line">        <span class="keyword">int</span> cid = contentPojo.getCid();</span><br><span class="line">        relationShipMapper.deleteRelationShipById(cid);</span><br><span class="line"></span><br><span class="line">        metaService.addMetas(cid,categories, Types.CATEGORY.getType());</span><br><span class="line">    &#125;</span><br></pre></td></tr></table></figure>
<p>需要修改的地方除了contents表外，还有删除关联的表relationships对应的cid，以及新建metas：</p>
<p>（addMetas）该方法中包含了添加文章分类</p>
<h4 id="（2）文章删除："><a href="#（2）文章删除：" class="headerlink" title="（2）文章删除："></a>（2）文章删除：</h4><p>控制器：</p>
<figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">@PostMapping(&quot;/delete&quot;)</span></span><br><span class="line"><span class="meta">@ResponseBody</span></span><br><span class="line"><span class="function"><span class="keyword">public</span> APIResponse <span class="title">deleteArticle</span><span class="params">(Integer cid, HttpServletRequest request)</span></span>&#123;</span><br><span class="line">    contentService.deleteArticleById(cid);</span><br><span class="line">    <span class="keyword">return</span> APIResponse.success();</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>
<p>service层：</p>
<figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">@Override</span></span><br><span class="line">    <span class="function"><span class="keyword">public</span> <span class="keyword">void</span> <span class="title">deleteArticleById</span><span class="params">(Integer cid)</span> </span>&#123;</span><br><span class="line">        <span class="keyword">if</span>(<span class="keyword">null</span> == cid)</span><br><span class="line">            <span class="keyword">throw</span> BusinessException.withErrorCode(ErrorConstant.Common.PARAM_IS_EMPTY);</span><br><span class="line"></span><br><span class="line">        contentMapper.deleteArticleById(cid);</span><br><span class="line"></span><br><span class="line">        <span class="comment">// 删除标签和分类关联</span></span><br><span class="line">        relationShipMapper.deleteRelationShipById(cid);</span><br><span class="line">    &#125;</span><br></pre></td></tr></table></figure>
<p>删除文章后，调用relationshipMapper删除对应的cid记录</p>
<hr>
<p>后台文章发布、富文本编辑器、分类标签等CRUD功能已完成</p>

      
    </div>
    
    
    

    

    

    

    <footer class="post-footer">
      

      
      
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
              <a href="/2021/04/06/blog-%EF%BC%88%E5%9B%9B%EF%BC%89/" rel="next" title="blog （四）">
                <i class="fa fa-chevron-left"></i> blog （四）
              </a>
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/2021/04/07/blog-%EF%BC%88%E4%B8%83%EF%BC%89-%E5%89%8D%E5%8F%B0%E7%95%8C%E7%95%8C%E9%9D%A2/" rel="prev" title="blog （七） 前台界界面">
                blog （七） 前台界界面 <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </div>
  
  
  
  </article>



    <div class="post-spread">
      
    </div>
  </div>


          </div>
          


          

  



        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    
    <div class="sidebar-inner">

      

      
        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap">
            文章目录
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview-wrap">
            站点概览
          </li>
        </ul>
      

      <section class="site-overview-wrap sidebar-panel">
        <div class="site-overview">
          <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
            
              <img class="site-author-image" itemprop="image"
                src="/images/avatar.png"
                alt="" />
            
              <p class="site-author-name" itemprop="name"></p>
              <p class="site-description motion-element" itemprop="description"></p>
          </div>

          <nav class="site-state motion-element">

            
              <div class="site-state-item site-state-posts">
                <a href="/archives">
                  <span class="site-state-item-count">23</span>
                  <span class="site-state-item-name">日志</span>
                </a>
              </div>
            

            
              
              
              <div class="site-state-item site-state-categories">
                <a href="/categories/index.html">
                  <span class="site-state-item-count">9</span>
                  <span class="site-state-item-name">分类</span>
                </a>
              </div>
            

            

          </nav>

          

          

          
          

          
          

          

        </div>
      </section>

      
      <!--noindex-->
        <section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">

            
              
            

            
              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-2"><a class="nav-link" href="#%E5%AE%8C%E5%96%84%E5%90%8E%E5%8F%B0%E7%AE%A1%E7%90%86%E5%8A%9F%E8%83%BD%EF%BC%9A"><span class="nav-text">完善后台管理功能：</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#%E5%88%86%E7%B1%BB-UD%EF%BC%9A"><span class="nav-text">分类 UD：</span></a><ol class="nav-child"><li class="nav-item nav-level-4"><a class="nav-link" href="#%EF%BC%881%EF%BC%89%E5%88%86%E7%B1%BB%E4%BF%AE%E6%94%B9%EF%BC%9A"><span class="nav-text">（1）分类修改：</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#%EF%BC%882%EF%BC%89%E5%88%86%E7%B1%BB%E5%88%A0%E9%99%A4%EF%BC%9A"><span class="nav-text">（2）分类删除：</span></a></li></ol></li><li class="nav-item nav-level-3"><a class="nav-link" href="#%E6%96%87%E7%AB%A0-UD%EF%BC%9A"><span class="nav-text">文章 UD：</span></a><ol class="nav-child"><li class="nav-item nav-level-4"><a class="nav-link" href="#%EF%BC%881%EF%BC%89%E6%96%87%E7%AB%A0%E4%BF%AE%E6%94%B9%EF%BC%9A"><span class="nav-text">（1）文章修改：</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#%EF%BC%882%EF%BC%89%E6%96%87%E7%AB%A0%E5%88%A0%E9%99%A4%EF%BC%9A"><span class="nav-text">（2）文章删除：</span></a></li></ol></li></ol></li></ol></div>
            

          </div>
        </section>
      <!--/noindex-->
      

      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright">&copy; <span itemprop="copyrightYear">2021</span>
  <span class="with-love">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">yyc</span>

  
</div>


  <div class="powered-by">由 <a class="theme-link" target="_blank" href="https://hexo.io">Hexo</a> 强力驱动</div>



  <span class="post-meta-divider">|</span>



  <div class="theme-info">主题 &mdash; <a class="theme-link" target="_blank" href="https://github.com/iissnan/hexo-theme-next">NexT.Gemini</a> v5.1.4</div>




        







        
      </div>
    </footer>

    
      <div class="back-to-top">
        <i class="fa fa-arrow-up"></i>
        
      </div>
    

    

  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  


  











  
  
    <script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>
  

  
  
    <script type="text/javascript" src="/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>
  

  
  
    <script type="text/javascript" src="/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>
  

  
  
    <script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
  

  
  
    <script type="text/javascript" src="/lib/canvas-nest/canvas-nest.min.js"></script>
  


  


  <script type="text/javascript" src="/js/src/utils.js?v=5.1.4"></script>

  <script type="text/javascript" src="/js/src/motion.js?v=5.1.4"></script>



  
  


  <script type="text/javascript" src="/js/src/affix.js?v=5.1.4"></script>

  <script type="text/javascript" src="/js/src/schemes/pisces.js?v=5.1.4"></script>



  
  <script type="text/javascript" src="/js/src/scrollspy.js?v=5.1.4"></script>
<script type="text/javascript" src="/js/src/post-details.js?v=5.1.4"></script>



  


  <script type="text/javascript" src="/js/src/bootstrap.js?v=5.1.4"></script>



  


  




	





  





  












  





  

  

  

  
  

  

  

  

</body>
</html>
